import request from '@/utils/request'

// 查询岗位列表
export function listFitnessPlan(data) {
  return request({
    url: '/plan/getFitnessPlan',
    method: 'get',
    params: data

  })
}
export function addFitnessPlan(data) {
    return request({
      url: '/plan/addFitnessPlan',
      method: 'post',
      data: data
    })
  }
  export function queryFitnessPurpose(data) {
    return request({
      url: '/plan/queryFitnessPurpose',
      method: 'get',
      params: data
    })
  }
export function updateFitnessPlan(data) {
    return request({
      url: '/plan/updateFitnessPlan',
      method: 'put',
      data: data
    })
}
export function deleteFitnessPlan(data) {
    return request({
      url: '/plan/deleteFitnessPlan',
      method: 'delete',
      data: data
    })
}